// house_pkg/pages/building/index.ts
Page({
  data: {
    size: 0,
    point: '',
    type: '',
  },
onLoad({point}){
  this.fake(point)
},
fake(point){
  const size=Math.floor(Math.random()*4)+3
  const type = size > 4 ? '号楼' : '栋'
  this.setData({
    size,
    type,
    point
  })
}
})